package com.example.supplychainbackend.controller.dto.quality;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

//response includes request

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class InspectionBatchDto {
    //added query param
    Long id;
    //根据自增主键生成
    String inspectionBatchNumber;
    //设为空
    String processStep;
    //暂时为空
    String creator;
    String createTime;
    //供应商编号 已知供应商名称  生产检不考虑
    String supplierCode;

    //这些要等检验单结果出来回传了
    Integer inspectedQuantity;
    Integer qualifiedQuantity;
    Integer unqualifiedQuantity;

    //状态在创建时已经设了初始值   等待回传修改
    Integer status;

    //查生产工单获取
    String area;
    String productionLine;
    Integer workOrderType;
    String processRoute;

    //create param
    Integer inspectionType;
    //1采购订单 2销售订单 3生产工单
    String referenceDocumentNumber;
    String externalDocumentNumber;
    String sourceDocumentNumber;
    Integer sourceDocumentType;
    String sourceDocumentLineNumber;
    String salesOrderNumber;
    String salesOrderName;
    String contractNumber;
    String contractName;
    String materialNumber;
    String materialName;
    String materialDescription;
    String containerNumber;
    String supplierName;
    String manufacturer;
    String manufacturerMaterialCode;
    Integer batchQuantity;
    Integer priority;
    String inspector;
    String inspectionDepartment;
    String inspectionTime;

    String batchNumber;
}
